package org.smile.strate;
/**
 * 用来封装一个跳转的信息
 * @author 胡真山
 *
 */
public class ActionForward {
	
	/**
	 * 服务器端跳转类型
	 */
	public static final String FORWARD="forward";
	/**
	 * 重定向跳转类型
	 */
	public static final String REDIRECT="redirect";
	/**
	 * 跳转的名称
	 */
	private String name;
	/**
	 * 跳转的结果url
	 */
	private String result;
	/**
	 * 跳转的类型
	 */
	private String type;
	
	public ActionForward(String name,String type,String result){
		this.name=name;
		this.type=type;
		this.result=result;
	}
	public ActionForward(){
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getResult() {
		return result;
	}
	public void setResult(String result) {
		this.result = result;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	
	
}
